<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>查看邮箱配置信息</title>
<link href="${rc.getContextPath()}/resources/css/common.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${rc.getContextPath()}/resources/js/jquery.js"></script>
<script type="text/javascript" src="${rc.getContextPath()}/resources/js/common.js"></script>
<script type="text/javascript" src="${rc.getContextPath()}/resources/js/input.js"></script>
<script type="text/javascript">
var base='${base!}';
var emailConfigId='${emailConfigId!}';
function editEmailConfig(){
	window.location.href=base+"/emailConfig/admin/editEmailConfig.html?emailConfigId="+emailConfigId;
}
$(document).ready(function(){
	$("#tableForm :text").attr("readonly","readonly");
});
</script>
</head>
<body>
	<div class="path">
		<b>查看邮箱配置信息</b>
		>><input type="button" class="button" value="编辑" onclick="editEmailConfig()" />
	</div>
	<form action="" method="post" id="tableForm" name="tableForm" enctype="multipart/form-data">
		<table class="input tabContent">
			<tbody>
				<tr>
					<th><span class="requiredField">*</span>smtp端口:</th>
					<td>
						${emailConfig.emailPort!}
					</td>
					<th><span class="requiredField">*</span>服务器地址:</th>
					<td>
						${emailConfig.emailServer!}
					</td>
				</tr>
				<tr>
					<th><span class="requiredField">*</span>发送者:</th>
					<td>
						${emailConfig.emailFrom!}
					</td>
					<th><span class="requiredField">*</span>发送者地址:</th>
					<td>
						${emailConfig.user!}
					</td>
				</tr>
				<tr>
					<th><span class="requiredField">*</span>邮箱验证反馈标题:</th>
					<td colspan="3">${emailConfig.emailTitle}</td>
				</tr>
				<tr>
					<th><span class="requiredField">*</span>邮箱验证反馈内容:</th>
					<td colspan="3">
						<table width="100%" height="100%">
							<tr align="left">
								<td width="360px">
									<textarea name="emailContent" id="txtEmailContent" cols="60" rows="6">${emailConfig.emailContent}</textarea>
								</td>
								<td>
									使用说明：<br />
									例如反馈内容为：您的验证码是：<font color="red">121313</font> <br />
									那么请输入内容：您的验证码是：<font color="red">IdentifyCodeToReplace</font> <br />
									其中：发邮件给用户的时候，IdentifyCodeToReplace会被替换为真实的验证码
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</tbody>
		</table>
	</form>
</body>
</html>